Leat\Shortcodes\AbstractShortcode S

Total Complexity 20
Dependencies 2
Dependents 0
Total lines 167
Lines of code 60
Logical lines of code 29
Comment lines 74
Methods 12
Properties 4

Methods 12

Method Rating Maintainability Complexity Lines of code
has_shortcode()
S
67 3 8
register_shortcode_type()
S
66 3 8
enqueue_assets()
S
66 3 9
init()
S
68 2 7
render_callback()
S
64 2 10
__construct()
S
81 1 3
init_hooks()
S
100 1 0
get_shortcode_type_attributes()
S
100 1 0
shortcode_output()
S
100 1 0
get_shortcode_types()
S
68 1 8
get_assets()
S
100 1 0
register_script()
S
70 1 7